package com.chinasoft.movies.service.impl;

import com.chinasoft.movies.mapper.DirectorByRevAndPopMapper;
import com.chinasoft.movies.pojo.DirectorByRevAndPop;
import com.chinasoft.movies.service.DirectorByRevAndPopService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class DirectorByRevAndPopServiceImpl implements DirectorByRevAndPopService {

    @Autowired
    private DirectorByRevAndPopMapper directorByRevAndPopMapper;

    @Override
    public List<DirectorByRevAndPop> queryDirectorByRevAndPop(){
        return directorByRevAndPopMapper.queryDirectorByRevAndPop();
    }
}
